<?php
class Partnerss extends CWidget
{
	public $index=false;
	public function run() 
	{
		
		$partners=Partners::model()->findAll('block=:block',array(':block'=>1));
		
		$this->render('partners',array('partners'=>$partners));
	}
}
?>